/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: SysLog
 * Author:   pc
 * Date:     2019/9/9 15:35
 * Description: 日志表
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.example.rabbitmqdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Mapper;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 〈功能：〉<br> 
 * 〈日志表〉
 * @author liuhaoran
 * @create 2019/9/9 15:35
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Mapper
public class SysLog implements Serializable {
	private static final long serialVersionUID = 1717420842011846358L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	/**
	 * 用户名
	 */
	private String username;
	/**
	 * 操作
	 */
	private String operation;
	/**
	 * 方法名
	 */
	private String method;
	/**
	 * 参数
	 */
	private String params;
	/**
	 * ip地址
	 */
	private String ip;
	/**
	 * 操作时间
	 */
	private Date createDate;

}